package com.jzmy.employment.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.jzmy.employment.entity.RecruitmentNews;
import com.jzmy.employment.entity.vo.RecruitmentNewsVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author mengzhichao
 * @create 2022-08-26-11:07
 */
public interface RecruitmentNewsDao extends BaseMapper<RecruitmentNews> {

    List<RecruitmentNewsVo> dyGetNewList(Page<RecruitmentNewsVo> page, Map map);

    List<RecruitmentNewsVo> dyGetHotList(Page<RecruitmentNewsVo> page, Map map);

    RecruitmentNews selJobDetails(@Param("id") Long id);

    List<String> selectRegion(String name);

    List<String> selectCity(String name);
}
